<?php 
	print formx(null,array('action'=>'/')).
	input('text','uname',null,array('placeholder'=>'Full name')).'<br/>'.rule('uname', 'required', 'Name required').'<br/>'.
	input('text','email',null,array('placeholder'=>'E-mail address')).'<br/>'.rule('email','required,email','Valid e-mail address required').'<br/>'.
	textarea(null,'content',array('placeholder'=>'Hello!')).'<br/>'.rule('content','required','Content required').'<br/>'.
	$this->v('captcha').'<br/>'.submit('Contact us',null,array('key'=>'s')).form(true);
?>